package com.tianji.learning.domain.po;


import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;


import java.io.Serializable;


/**

 *
 * @author author
>>>>>>> furure-z
 * @since 2023-04-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("user_notes_ref")
@ApiModel(value="UserNotesRef对象", description="")
public class UserNotesRef implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")

    @TableId(value = "id", type = IdType.ASSIGN_ID)

    private Long id;

    @ApiModelProperty(value = "引用人id")
    private Long userId;

    @ApiModelProperty(value = "引用笔记id")
    private Long noteId;

    @ApiModelProperty(value = "创建人id")
    private Long authorId;

    @ApiModelProperty(value = "采集复制笔记id")
    @TableField(value = "user_note_id")
    private Long userNoteId;


}
